<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<meta http-equiv="content-Type" content="text/html;charset=utf-8">
		<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />

		<meta name="description" content="个人中心" />
		<title>个人中心</title>
		<link rel="stylesheet" href="css/user-reset.css" />
		<link rel="stylesheet" href="css/user-main.css" />
		<link rel="stylesheet" href="css/user-list.css" />
		<link rel="stylesheet" href="css/user-data.css">
		<script type="text/javascript" src="js/jquery-3.4.1.js"></script>
		<script type="text/javascript">
			$(function () {




			})
			function tuichu(){
				$.ajax({
					type:"get",
					url:"user/logout.do",
					dataType:"json",
					success:function (data){
						if(data.result==1){
							alert("退出成功");
							location.href="index.html";
						}
					}
				})
			}
		</script>
	</head>
	<!--顾客订单 -->
	<body>
		<!-- 固定 -->
		<div class="main">
			<div class="main-left main-left2">
				<div class="main-left-header">个人中心</div>
				<div class="main-left-nav">

					<div class="main-left-navs main-left-manage navs-active">
						<p class="nav-name" onclick="window.location.href='index.html'">同乡烩首页</p>
						<div class="navs  navs-first" onclick="window.location.href=''">购物车</div>
						<div class="navs" onclick="window.location.href='user-indent.html'">订单</div>
						<div class="navs" onclick="window.location.href='user-data.html'">修改资料</div>
						<div class="navs" onclick="window.location.href='cookdeal.html'">预约信息</div>
						
						<div class="navs" onclick="tuichu()">退出登录</div>
						
						
					</div>





				</div>
			</div>


			<div class="main-left"></div>

			<!-- 操作 -->
			<div class="main-right">
				<div class="main-right-header"></div>
				<div class="main-right-navs">
					<a href="user-index.html">首页</a><a class="split">/</a><a>修改资料</a>
				</div>
				<!-- 主体 -->
				<div class="data-w">
					
					<div class="rg_form_center">
						<div id="errorMsg" style="color:red;text-align: center"></div>
						<!--注册表单-->
						<form id="registerForm" action="user">
							<!--提交处理请求的标识符-->
							<input type="hidden" name="action" value="register">
							<table style="margin-top: 25px;">
								<tr>
									<td class="td_left">
										<label for="username">账号</label>
									</td>
									
									<td class="td_right">
										
										<input type="text" id="username" name="username" placeholder="请输入账号">
										
										<!-- 查询用户账号展示，账号不允许修改 -->
										
									</td>
									
								</tr>
								
								<tr>
									<td class="td_left">
										<label for="password">密码</label>
									</td>
									<td class="td_right">
										<input type="text" id="password" name="password" placeholder="请输入密码">
									</td>
								</tr>
								
								<tr>
									<td class="td_left">
										<label for="name">姓名</label>
									</td>
									<td class="td_right">
										<input type="text" id="name" name="name" placeholder="请输入真实姓名">
									</td>
								</tr>
								<tr>
									<td class="td_left">
										<label for="telephone">手机号</label>
									</td>
									<td class="td_right">
										<input type="text" id="telephone" name="telephone" placeholder="请输入您的手机号">
									</td>
								</tr>
								
								<tr>
									<td class="td_left">
										<label for="name">地址</label>
									</td>
									<td class="td_right">
										<input type="text" id="name" name="name" placeholder="请输入地址">
									</td>
								</tr>
								
								
								<tr>
									<td class="td_left"> 
									</td>
									<td class="td_right check"> 
									
										<input type="submit" class="submit" value="修改">
										
										
									</td>
								</tr>
								
								
							</table>
						</form>
					</div>
				</div>
			</div>
			<script type="text/javascript" src="js/jquery-3.3.1.min.js"></script>
			<script>
				$(function() {

					var body_height = $(document).height();
					$(".main").css("height", body_height + "px")
				})
			</script>
	</body>
</html>
